package com.by.service;

import com.by.bean.Leave;
import com.by.bean.PageBean;

import java.util.Map;

public interface OaLeaveService {
    int save(Leave leave);

    /**
     * 请假列表
     * @param map
     * @return
     */
    PageBean query(Map map);
}
